//表格行el-table-column配置项
export interface ColumnOption {
  prop?: string;
  label: string;
  minWidth?: string;
  slotName?: string;
  align?: string;
  filter?: Function | undefined;
  fixed?: string;
  width?: string;
  showTable?: boolean;
}
//表格配置项
export interface TableOption {
  propList: ColumnOption[];
  showIndexColumn?: boolean;
  showSelectColumn?: boolean;
  showPagination?: boolean;
  childrenProps?: object;
  showOverflowTooltip?: boolean;
}

export type SizeTable = "" | "large" | "default" | "small";
interface TableSize {
  label: string;
  value: string;
}
export const sizeTableOptions = ref<TableSize[]>([
  { label: "默认", value: "default" },
  { label: "大型", value: "large" },
  { label: "中型", value: "default" },
  { label: "小型", value: "small" },
]);
